package server.datasource;

import server.idatasource.DataSourceFactory;
import server.idatasource.ICheckPointDataSource;
import server.idatasource.IGroupDataSource;
import server.idatasource.IGroupRightDataSource;
import server.idatasource.IReachedDataSource;
import server.idatasource.IRightDataSource;
import server.idatasource.IUserDataSource;
import server.idatasource.IUserRightDataSource;

public class ConcreteDataSourceFactory extends DataSourceFactory {

	@Override
	public IUserDataSource getUserDataSource() {
		return new UserDataSource();
	}

	@Override
	public IGroupDataSource getGroupDataSource() {
		return new GroupDataSource();
	}

	@Override
	public ICheckPointDataSource getCheckPointDataSource() {
		return new CheckPointDataSource();
	}

	@Override
	public IGroupRightDataSource getGroupDataRightSource() {
		// TODO Auto-generated method stub
		return new GroupRightDataSource();
	}

	@Override
	public IReachedDataSource getReachedDataSource() {
		// TODO Auto-generated method stub
		return new ReachedDataSource();
	}

	@Override
	public IRightDataSource getRightDataSource() {
		// TODO Auto-generated method stub
		return new RightDataSource();
	}

	@Override
	public IUserRightDataSource getUserRightDataSource() {
		// TODO Auto-generated method stub
		return new UserRightDataSource();
	}

}
